package com.cdtye.itps.cms.mapper.warn;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cdtye.itps.cms.dao.warn.entity.JcjcWarnFiles;
import com.cdtye.itps.cms.dao.warn.vo.JcjcWarnFilesVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface JcjcWanFilesMapper extends BaseMapper<JcjcWarnFiles> {

    /**
     *自定义分页查询
     */
    IPage<Map<String,Object>> pageList(IPage page, @Param("model") JcjcWarnFilesVo vo);

    /**
     * 根据BIZ_ID查附件
     */
    List<Map<String, Object>> getByBizId(@Param("bizId") String id);
}
